<?php

class Social_Controller_Admincp_Browse_Index extends Nuo_Controller_Admincp
{

	function execute($request)
	{
		Nuo::setVar('breadcrum', array(
			'title' => 'Social Connect',
			'links' => array(
				'admincp' => 'AdminCP',
				'admincp/social' => 'Social Connect'
			),
			'toolbar' => 'admincp/social'
		));

		$table = Nuo::getTable('social/service');

		$select = $table -> select() -> order('sort_order');

		$items = $table -> fetchAll($select);

		return  $this -> render(array('items' => $items));
	}

}
